package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LExamTarget
 * @date 2021.08.24 11:22
 * @describe 考试分组表
 */
@TableName("l_exam_target")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LExamTarget", description="考试分组表")
public class LExamTarget {
    private static final long serialVersionUID = 1L;

    @TableId(value = "exam_target_id", type = IdType.AUTO)
    private Integer examTargetId;

    @ApiModelProperty(value = "发布对象分类 0机构1分组")
    @TableField("exam_target_type")
    private String examTargetType;

    @ApiModelProperty(value = "考试id")
    @TableField("exam_id")
    private Integer examId;

    @ApiModelProperty(value = "发布对象")
    @TableField("exam_target")
    private String examTarget;

    public Integer getExamTargetId() {
        return examTargetId;
    }

    public void setExamTargetId(Integer examTargetId) {
        this.examTargetId = examTargetId;
    }

    public String getExamTargetType() {
        return examTargetType;
    }

    public void setExamTargetType(String examTargetType) {
        this.examTargetType = examTargetType;
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public String getExamTarget() {
        return examTarget;
    }

    public void setExamTarget(String examTarget) {
        this.examTarget = examTarget;
    }
}
